package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.bigdata.common.core.domain.BaseEntity;

/**
 * Banner信息业务对象 data_banner
 *
 * @author ruoyi
 * @date 2025-07-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DataBannerBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotBlank(message = "主键ID不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * Banner标题
     */
    @NotBlank(message = "Banner标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 图片URL
     */
    @NotBlank(message = "图片URL不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imageUrl;

    /**
     * 排序(越小越靠前)
     */

    private String sortOrder;

    /**
     * 启用状态(2禁用,1启用)
     */

    private Integer isActive;

    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageNum;

    private String bannerType;
}
